package com.csthink.web.interfaces;

import com.csthink.auditlog.annotation.AuditLogging;
import com.csthink.auditlog.annotation.Change;
import com.csthink.auditlog.enums.ActionEnum;
import com.csthink.auditlog.enums.CategoryEnum;
import com.csthink.mysql.entity.Account;
import com.google.common.collect.Maps;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @author <a href="mailto:security.2009@live.cn">Mars</a>
 * @since 2023-09-12
 */
@Api(tags = "Test 模块")
@RestController
@RequestMapping("/auditlog")
public class AuditLogTestController {

    Map<String, String> db = Maps.newHashMap();

    @PostMapping("add")
    private Map<String, String> addUser() {
        db.put("c1", "jack");
        db.put("c2", "rose");
        return db;
    }
}
